package com.example.dzbsh.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GuifanluoshiQingkuangExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GuifanluoshiQingkuangExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andZhenbieidIsNull() {
            addCriterion("zhenbieid is null");
            return (Criteria) this;
        }

        public Criteria andZhenbieidIsNotNull() {
            addCriterion("zhenbieid is not null");
            return (Criteria) this;
        }

        public Criteria andZhenbieidEqualTo(String value) {
            addCriterion("zhenbieid =", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidNotEqualTo(String value) {
            addCriterion("zhenbieid <>", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidGreaterThan(String value) {
            addCriterion("zhenbieid >", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidGreaterThanOrEqualTo(String value) {
            addCriterion("zhenbieid >=", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidLessThan(String value) {
            addCriterion("zhenbieid <", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidLessThanOrEqualTo(String value) {
            addCriterion("zhenbieid <=", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidLike(String value) {
            addCriterion("zhenbieid like", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidNotLike(String value) {
            addCriterion("zhenbieid not like", value, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidIn(List<String> values) {
            addCriterion("zhenbieid in", values, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidNotIn(List<String> values) {
            addCriterion("zhenbieid not in", values, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidBetween(String value1, String value2) {
            addCriterion("zhenbieid between", value1, value2, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andZhenbieidNotBetween(String value1, String value2) {
            addCriterion("zhenbieid not between", value1, value2, "zhenbieid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidIsNull() {
            addCriterion("renyuanid is null");
            return (Criteria) this;
        }

        public Criteria andRenyuanidIsNotNull() {
            addCriterion("renyuanid is not null");
            return (Criteria) this;
        }

        public Criteria andRenyuanidEqualTo(String value) {
            addCriterion("renyuanid =", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidNotEqualTo(String value) {
            addCriterion("renyuanid <>", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidGreaterThan(String value) {
            addCriterion("renyuanid >", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidGreaterThanOrEqualTo(String value) {
            addCriterion("renyuanid >=", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidLessThan(String value) {
            addCriterion("renyuanid <", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidLessThanOrEqualTo(String value) {
            addCriterion("renyuanid <=", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidLike(String value) {
            addCriterion("renyuanid like", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidNotLike(String value) {
            addCriterion("renyuanid not like", value, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidIn(List<String> values) {
            addCriterion("renyuanid in", values, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidNotIn(List<String> values) {
            addCriterion("renyuanid not in", values, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidBetween(String value1, String value2) {
            addCriterion("renyuanid between", value1, value2, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andRenyuanidNotBetween(String value1, String value2) {
            addCriterion("renyuanid not between", value1, value2, "renyuanid");
            return (Criteria) this;
        }

        public Criteria andJiashuidIsNull() {
            addCriterion("jiashuid is null");
            return (Criteria) this;
        }

        public Criteria andJiashuidIsNotNull() {
            addCriterion("jiashuid is not null");
            return (Criteria) this;
        }

        public Criteria andJiashuidEqualTo(String value) {
            addCriterion("jiashuid =", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidNotEqualTo(String value) {
            addCriterion("jiashuid <>", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidGreaterThan(String value) {
            addCriterion("jiashuid >", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidGreaterThanOrEqualTo(String value) {
            addCriterion("jiashuid >=", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidLessThan(String value) {
            addCriterion("jiashuid <", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidLessThanOrEqualTo(String value) {
            addCriterion("jiashuid <=", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidLike(String value) {
            addCriterion("jiashuid like", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidNotLike(String value) {
            addCriterion("jiashuid not like", value, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidIn(List<String> values) {
            addCriterion("jiashuid in", values, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidNotIn(List<String> values) {
            addCriterion("jiashuid not in", values, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidBetween(String value1, String value2) {
            addCriterion("jiashuid between", value1, value2, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJiashuidNotBetween(String value1, String value2) {
            addCriterion("jiashuid not between", value1, value2, "jiashuid");
            return (Criteria) this;
        }

        public Criteria andJingshangidIsNull() {
            addCriterion("jingshangid is null");
            return (Criteria) this;
        }

        public Criteria andJingshangidIsNotNull() {
            addCriterion("jingshangid is not null");
            return (Criteria) this;
        }

        public Criteria andJingshangidEqualTo(String value) {
            addCriterion("jingshangid =", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidNotEqualTo(String value) {
            addCriterion("jingshangid <>", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidGreaterThan(String value) {
            addCriterion("jingshangid >", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidGreaterThanOrEqualTo(String value) {
            addCriterion("jingshangid >=", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidLessThan(String value) {
            addCriterion("jingshangid <", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidLessThanOrEqualTo(String value) {
            addCriterion("jingshangid <=", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidLike(String value) {
            addCriterion("jingshangid like", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidNotLike(String value) {
            addCriterion("jingshangid not like", value, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidIn(List<String> values) {
            addCriterion("jingshangid in", values, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidNotIn(List<String> values) {
            addCriterion("jingshangid not in", values, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidBetween(String value1, String value2) {
            addCriterion("jingshangid between", value1, value2, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andJingshangidNotBetween(String value1, String value2) {
            addCriterion("jingshangid not between", value1, value2, "jingshangid");
            return (Criteria) this;
        }

        public Criteria andChaheidIsNull() {
            addCriterion("chaheid is null");
            return (Criteria) this;
        }

        public Criteria andChaheidIsNotNull() {
            addCriterion("chaheid is not null");
            return (Criteria) this;
        }

        public Criteria andChaheidEqualTo(String value) {
            addCriterion("chaheid =", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidNotEqualTo(String value) {
            addCriterion("chaheid <>", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidGreaterThan(String value) {
            addCriterion("chaheid >", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidGreaterThanOrEqualTo(String value) {
            addCriterion("chaheid >=", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidLessThan(String value) {
            addCriterion("chaheid <", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidLessThanOrEqualTo(String value) {
            addCriterion("chaheid <=", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidLike(String value) {
            addCriterion("chaheid like", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidNotLike(String value) {
            addCriterion("chaheid not like", value, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidIn(List<String> values) {
            addCriterion("chaheid in", values, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidNotIn(List<String> values) {
            addCriterion("chaheid not in", values, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidBetween(String value1, String value2) {
            addCriterion("chaheid between", value1, value2, "chaheid");
            return (Criteria) this;
        }

        public Criteria andChaheidNotBetween(String value1, String value2) {
            addCriterion("chaheid not between", value1, value2, "chaheid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidIsNull() {
            addCriterion("qiyeleixingid is null");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidIsNotNull() {
            addCriterion("qiyeleixingid is not null");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidEqualTo(String value) {
            addCriterion("qiyeleixingid =", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidNotEqualTo(String value) {
            addCriterion("qiyeleixingid <>", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidGreaterThan(String value) {
            addCriterion("qiyeleixingid >", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidGreaterThanOrEqualTo(String value) {
            addCriterion("qiyeleixingid >=", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidLessThan(String value) {
            addCriterion("qiyeleixingid <", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidLessThanOrEqualTo(String value) {
            addCriterion("qiyeleixingid <=", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidLike(String value) {
            addCriterion("qiyeleixingid like", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidNotLike(String value) {
            addCriterion("qiyeleixingid not like", value, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidIn(List<String> values) {
            addCriterion("qiyeleixingid in", values, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidNotIn(List<String> values) {
            addCriterion("qiyeleixingid not in", values, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidBetween(String value1, String value2) {
            addCriterion("qiyeleixingid between", value1, value2, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andQiyeleixingidNotBetween(String value1, String value2) {
            addCriterion("qiyeleixingid not between", value1, value2, "qiyeleixingid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidIsNull() {
            addCriterion("tuichufangshiid is null");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidIsNotNull() {
            addCriterion("tuichufangshiid is not null");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidEqualTo(String value) {
            addCriterion("tuichufangshiid =", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidNotEqualTo(String value) {
            addCriterion("tuichufangshiid <>", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidGreaterThan(String value) {
            addCriterion("tuichufangshiid >", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidGreaterThanOrEqualTo(String value) {
            addCriterion("tuichufangshiid >=", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidLessThan(String value) {
            addCriterion("tuichufangshiid <", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidLessThanOrEqualTo(String value) {
            addCriterion("tuichufangshiid <=", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidLike(String value) {
            addCriterion("tuichufangshiid like", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidNotLike(String value) {
            addCriterion("tuichufangshiid not like", value, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidIn(List<String> values) {
            addCriterion("tuichufangshiid in", values, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidNotIn(List<String> values) {
            addCriterion("tuichufangshiid not in", values, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidBetween(String value1, String value2) {
            addCriterion("tuichufangshiid between", value1, value2, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichufangshiidNotBetween(String value1, String value2) {
            addCriterion("tuichufangshiid not between", value1, value2, "tuichufangshiid");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingIsNull() {
            addCriterion("tuichuleixing is null");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingIsNotNull() {
            addCriterion("tuichuleixing is not null");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingEqualTo(Integer value) {
            addCriterion("tuichuleixing =", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingNotEqualTo(Integer value) {
            addCriterion("tuichuleixing <>", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingGreaterThan(Integer value) {
            addCriterion("tuichuleixing >", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingGreaterThanOrEqualTo(Integer value) {
            addCriterion("tuichuleixing >=", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingLessThan(Integer value) {
            addCriterion("tuichuleixing <", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingLessThanOrEqualTo(Integer value) {
            addCriterion("tuichuleixing <=", value, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingIn(List<Integer> values) {
            addCriterion("tuichuleixing in", values, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingNotIn(List<Integer> values) {
            addCriterion("tuichuleixing not in", values, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingBetween(Integer value1, Integer value2) {
            addCriterion("tuichuleixing between", value1, value2, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andTuichuleixingNotBetween(Integer value1, Integer value2) {
            addCriterion("tuichuleixing not between", value1, value2, "tuichuleixing");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiIsNull() {
            addCriterion("guifanluoshizhuangtai is null");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiIsNotNull() {
            addCriterion("guifanluoshizhuangtai is not null");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiEqualTo(String value) {
            addCriterion("guifanluoshizhuangtai =", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiNotEqualTo(String value) {
            addCriterion("guifanluoshizhuangtai <>", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiGreaterThan(String value) {
            addCriterion("guifanluoshizhuangtai >", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiGreaterThanOrEqualTo(String value) {
            addCriterion("guifanluoshizhuangtai >=", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiLessThan(String value) {
            addCriterion("guifanluoshizhuangtai <", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiLessThanOrEqualTo(String value) {
            addCriterion("guifanluoshizhuangtai <=", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiLike(String value) {
            addCriterion("guifanluoshizhuangtai like", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiNotLike(String value) {
            addCriterion("guifanluoshizhuangtai not like", value, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiIn(List<String> values) {
            addCriterion("guifanluoshizhuangtai in", values, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiNotIn(List<String> values) {
            addCriterion("guifanluoshizhuangtai not in", values, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiBetween(String value1, String value2) {
            addCriterion("guifanluoshizhuangtai between", value1, value2, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andGuifanluoshizhuangtaiNotBetween(String value1, String value2) {
            addCriterion("guifanluoshizhuangtai not between", value1, value2, "guifanluoshizhuangtai");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNull() {
            addCriterion("beizhu is null");
            return (Criteria) this;
        }

        public Criteria andBeizhuIsNotNull() {
            addCriterion("beizhu is not null");
            return (Criteria) this;
        }

        public Criteria andBeizhuEqualTo(String value) {
            addCriterion("beizhu =", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotEqualTo(String value) {
            addCriterion("beizhu <>", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThan(String value) {
            addCriterion("beizhu >", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuGreaterThanOrEqualTo(String value) {
            addCriterion("beizhu >=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThan(String value) {
            addCriterion("beizhu <", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLessThanOrEqualTo(String value) {
            addCriterion("beizhu <=", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuLike(String value) {
            addCriterion("beizhu like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotLike(String value) {
            addCriterion("beizhu not like", value, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuIn(List<String> values) {
            addCriterion("beizhu in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotIn(List<String> values) {
            addCriterion("beizhu not in", values, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuBetween(String value1, String value2) {
            addCriterion("beizhu between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andBeizhuNotBetween(String value1, String value2) {
            addCriterion("beizhu not between", value1, value2, "beizhu");
            return (Criteria) this;
        }

        public Criteria andIsvalidIsNull() {
            addCriterion("isvalid is null");
            return (Criteria) this;
        }

        public Criteria andIsvalidIsNotNull() {
            addCriterion("isvalid is not null");
            return (Criteria) this;
        }

        public Criteria andIsvalidEqualTo(Integer value) {
            addCriterion("isvalid =", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidNotEqualTo(Integer value) {
            addCriterion("isvalid <>", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidGreaterThan(Integer value) {
            addCriterion("isvalid >", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidGreaterThanOrEqualTo(Integer value) {
            addCriterion("isvalid >=", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidLessThan(Integer value) {
            addCriterion("isvalid <", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidLessThanOrEqualTo(Integer value) {
            addCriterion("isvalid <=", value, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidIn(List<Integer> values) {
            addCriterion("isvalid in", values, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidNotIn(List<Integer> values) {
            addCriterion("isvalid not in", values, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidBetween(Integer value1, Integer value2) {
            addCriterion("isvalid between", value1, value2, "isvalid");
            return (Criteria) this;
        }

        public Criteria andIsvalidNotBetween(Integer value1, Integer value2) {
            addCriterion("isvalid not between", value1, value2, "isvalid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidIsNull() {
            addCriterion("zanhuanyuanyinid is null");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidIsNotNull() {
            addCriterion("zanhuanyuanyinid is not null");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidEqualTo(String value) {
            addCriterion("zanhuanyuanyinid =", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidNotEqualTo(String value) {
            addCriterion("zanhuanyuanyinid <>", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidGreaterThan(String value) {
            addCriterion("zanhuanyuanyinid >", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidGreaterThanOrEqualTo(String value) {
            addCriterion("zanhuanyuanyinid >=", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidLessThan(String value) {
            addCriterion("zanhuanyuanyinid <", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidLessThanOrEqualTo(String value) {
            addCriterion("zanhuanyuanyinid <=", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidLike(String value) {
            addCriterion("zanhuanyuanyinid like", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidNotLike(String value) {
            addCriterion("zanhuanyuanyinid not like", value, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidIn(List<String> values) {
            addCriterion("zanhuanyuanyinid in", values, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidNotIn(List<String> values) {
            addCriterion("zanhuanyuanyinid not in", values, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidBetween(String value1, String value2) {
            addCriterion("zanhuanyuanyinid between", value1, value2, "zanhuanyuanyinid");
            return (Criteria) this;
        }

        public Criteria andZanhuanyuanyinidNotBetween(String value1, String value2) {
            addCriterion("zanhuanyuanyinid not between", value1, value2, "zanhuanyuanyinid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}